{
  inputs.nixpkgs.url = "nixpkgs/nixos-23.05";

  outputs = {
    self,
    nixpkgs,
    flake-utils,
  }:
  flake-utils.lib.eachDefaultSystem
  (system: let
    pkgs = import nixpkgs {
      inherit system;
      config = {
        # allowUnfree = true;
        permittedInsecurePackages = [
          "nodejs-16.20.1"
        ];
      };
    };
  in {
    devShells.default = pkgs.mkShell {
      buildInputs = [
        pkgs.nodejs-16_x
        pkgs.nodePackages.pnpm
      ];
      shellHook = ''
        pnpm i
      '';
    };
  });
}
